#ifndef COMMON_GUILAYER_H
#define COMMON_GUILAYER_H

#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include <glad\glad.h>

class GuiLayer {
public:
	static GuiLayer* msInstance;
	static GuiLayer* GetInstance();

	void InitGuiSystem();
	void CloseGuiSystem();
	void BeginGui();
	void EndGui();

	void SceneViewer(GLuint& texHandle);

private:
	GuiLayer() {};
	void DockSpace(bool*);
	void ShowStaticsWindow();

private:
	bool mShowDockSpace = true;
};

#endif // !COMMON_GUILAYER_H
